package com.sptus.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sptus.common.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;


@Data
@TableName("work_orders")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class WorkOrders implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    private java.lang.Integer id;
	/**deviceSn*/
	@Excel(name = "deviceSn", width = 15)
    private java.lang.String deviceSn;
	/**accessory*/
	@Excel(name = "accessory", width = 15)
    private java.lang.String accessory;
	/**customerId*/
	@Excel(name = "customerId", width = 15)
    private java.lang.String customerId;
	/**status*/
	@Excel(name = "status", width = 15)
    private java.lang.String status;
	/**priority*/
	@Excel(name = "priority", width = 15)
    private java.lang.Integer priority;
	/**title*/
	@Excel(name = "title", width = 15)
    private java.lang.String title;
	/**description*/
	@Excel(name = "description", width = 15)
    private java.lang.String description;
	/**createdAt*/
	@Excel(name = "createdAt", width = 15, dateFormat = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private java.util.Date createdAt;
	/**updatedAt*/
	@Excel(name = "updatedAt", width = 15, dateFormat = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private java.util.Date updatedAt;
	/**assignedTo*/
	@Excel(name = "assignedTo", width = 15)
    private java.lang.String assignedTo;
	/**dueDate*/
	@Excel(name = "dueDate", width = 15, dateFormat = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private java.util.Date dueDate;
	/**category*/
	@Excel(name = "category", width = 15)
    private java.lang.String category;
	/**tesolution*/
	@Excel(name = "tesolution", width = 15)
    private java.lang.String tesolution;
	/**closedat*/
	@Excel(name = "closedat", width = 15, dateFormat = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private java.util.Date closedat;
	/**isDeleted*/
	@Excel(name = "isDeleted", width = 15)
    private java.lang.Integer isDeleted;
}
